{% extends 'xadmin/base.html' %} {% load i18n xadmin_tags %} {% block extrahead %}
{% vendor 'xadmin.extend.css'%}
 {% endblock %} {% block title %}{{ title }} | {{ site_title }}{% endblock %} {% block bodyclass %}{% endblock %} {% block body %}
<div class="wrapper">
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper" style="margin-left:0px;">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h4>
                {% block content_title %}<i class="{% firstof icon default_icon %}" aria-hidden="true"></i> {% firstof content_title title site_title %}{% endblock %}
            </h4>
            {% block breadcrumbs %}
            <ol class="breadcrumb">
                {% if breadcrumbs %} {% for bc in breadcrumbs %}
                <li>
                    {% if forloop.last or not bc.url %}{{bc.title}}{% else %}<a href="{{bc.url}}">{{bc.title}}</a>{% endif %}
                </li>
                {% endfor %} {% else %}
                <li><a href="{% url 'xadmin:index' %}"><i class="fa fa-home" aria-hidden="true"></i> {% trans 'Home' %}</a></li>
                {% if title %}{{ title }}{% endif %} {% endif %}
            </ol>
            {% endblock %}
        </section>
        <!-- Main content -->
        <section class="content">
            {% block content-nav %}
            <header>
                <nav class="navbar content-navbar navbar-default navbar-xs" role="navigation">
                    <div class="container-fluid">
                        <div class="navbar-header">
                            {% view_block 'nav_toggles' %} {% block nav_toggles %}
                            <button type="button" class="navbar-toggle" onclick="javascript: history.back();" data-toggle="offcanvas" role="button"><i class="fa fa-arrow-left"></i></button> {% endblock %}
                            <a class="navbar-brand" data-toggle="collapse" data-target="#top-nav .navbar-collapse">
            {% block nav_title %}{% if icon %}<i class="{{icon}}"></i> {% endif %}{% endblock %}
          </a>
                        </div>
                        <div class="navbar-collapse collapse">
                            <ul class="nav navbar-nav">
                                {% view_block 'nav_menu' %}
                            </ul>
                            {% view_block 'nav_form' %} {% block nav_form %}{% endblock %}
                            <div class="navbar-btn pull-right hide-xs">
                                {% view_block 'nav_btns' %} {% block nav_btns %}{% endblock %}
                            </div>
                        </div>
                    </div>
                </nav>
            </header>
            {% endblock %} {% block messages %} {% if messages %} {% for message in messages %}
            <div class="alert alert-dismissable{% if message.tags %} {% if message.tags == 'error' %}alert-danger{% else %}alert-{{ message.tags }}{% endif %}{% endif %}">
                <button type="button" class="close" data-dismiss="alert">&times;</button> {{ message|safe }}
            </div>
            {% endfor %} {% endif %} {% endblock messages %} {% block content %} {{ content }} {% endblock %}
        </section>
    </div>

    {% block footer %} {% endblock %} {% block control-sidebar%} {%endblock%}
</div>
{% endblock body %}